<template>
	<view class="">
		<view class="header-view">
			<image src="@/static/images/logo.png" mode="widthFix" class="logo"></image>
			<view class="lang-view" @click="$refs.lang.show()">
				<image src="@/static/images/lang.png" class="ioc"></image>
				<span v-if="$store.state.lang === 'zh'">简体中文</span>
				<span v-if="$store.state.lang === 'en'">English</span>
			</view>
		</view>
		<i-lang ref="lang"></i-lang>
	</view>
</template>

<script>
</script>

<style lang="scss" scoped>
	.header-view {
		position: fixed;
		z-index: 9;
		top: 0;
		left: 0;
		width: 750rpx;
		height: 160rpx;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 32rpx;
		backdrop-filter: blur(6px);
		background-color: rgba(224, 102, 18, 0.04);

		.logo {
			width: 280rpx;
			height: 40rpx;
		}

		.lang-view {
			display: flex;
			align-items: center;

			.ioc {
				width: 40rpx;
				height: 40rpx;
				margin-right: 10rpx;
			}

			span {
				font-size: 28rpx;
				color: #ffffff;
			}
		}
	}
</style>